package com.mcxx.modules.job;

import com.dangdang.ddframe.job.api.ShardingContext;
import com.dangdang.ddframe.job.api.simple.SimpleJob;
import com.yinhai.ta404.module.elasticjob.annotation.ElasticJobConf;


@ElasticJobConf(
        name = "myTestJob",
        cron = "0 */1 * * * ?",
        overwrite = true,
        description = "测试JOB"
)
public class ElasticTestJob implements SimpleJob {
    @Override
    public void execute(ShardingContext shardingContext) {
        System.out.println("Test...");
    }
}
